import Mock from "mockjs";

const listResource = {
  total:50,
  pageSize:10,
  list:[
    {
      coursewareId:1,
      coursewareName:'Java基础知识',
      coursewareSize:'521KB',
      coursewareAddtime:'2018-06-23',
      studyResource:{
        techer:{
          teacherRealname:'张雪峰'
        }
      }
    },
    {
      coursewareId:2,
      coursewareName:'MySQL基本语法',
      coursewareSize:'521KB',
      coursewareAddtime:'2018-06-23',
      studyResource:{
        techer:{
          teacherRealname:'张雪峰'
        }
      }
    },
    {
      coursewareId:3,
      coursewareName:'Java基础知识',
      coursewareSize:'521KB',
      coursewareAddtime:'2018-06-23',
      studyResource:{
        techer:{
          teacherRealname:'张雪峰'
        }
      }
    },
    {
      coursewareId:4,
      coursewareName:'premiere',
      coursewareSize:'521KB',
      coursewareAddtime:'2018-06-23',
      studyResource:{
        techer:{
          teacherRealname:'张雪峰'
        }
      }
    }
  ]
}

const sectionDataById = {
  "pageNum": 1,
  "pageSize": 5,
  "size": 5,
  "startRow": 1,
  "endRow": 5,
  "total": 7,
  "pages": 2,
  "list": [
    {
      "sectionId": 1,
      "scoreId": 1,
      "sectionTestId": 1,
      "courseId": 1,
      "teacherId": 1,
      "sectionName": "第1章 搭建java的开发环境",
      "sectionAddtime": 1498665600000,
      "sectionModifyPerson": "zhangsan",
      "sectionModifyDate": 1499702400000,
      "sectionDelete": 1,
      "partSections": []
    },
    {
      "sectionId": 2,
      "scoreId": 1,
      "sectionTestId": 2,
      "courseId": 1,
      "teacherId": 1,
      "sectionName": "第二章 Java语言基础",
      "sectionAddtime": 1498665600000,
      "sectionModifyPerson": "zhangsan",
      "sectionModifyDate": 1499788800000,
      "sectionDelete": 1,
      "partSections": []
    },
    {
      "sectionId": 3,
      "scoreId": null,
      "sectionTestId": null,
      "courseId": 1,
      "teacherId": 1,
      "sectionName": "java面对对象",
      "sectionAddtime": 1496937600000,
      "sectionModifyPerson": "zhangsan",
      "sectionModifyDate": 1496937600000,
      "sectionDelete": 1,
      "partSections": []
    },
    {
      "sectionId": 4,
      "scoreId": null,
      "sectionTestId": null,
      "courseId": 1,
      "teacherId": 1,
      "sectionName": "过户接口",
      "sectionAddtime": 1499616000000,
      "sectionModifyPerson": "zhangsan",
      "sectionModifyDate": 1499702400000,
      "sectionDelete": 1,
      "partSections": []
    },
    {
      "sectionId": 5,
      "scoreId": null,
      "sectionTestId": null,
      "courseId": 1,
      "teacherId": 1,
      "sectionName": "阿萨德发色的父",
      "sectionAddtime": 1499616000000,
      "sectionModifyPerson": "zhangsan",
      "sectionModifyDate": 1500393600000,
      "sectionDelete": 0,
      "partSections": []
    }
  ],
}
const partData = {
  "pageNum": 1,
  "pageSize": 2,
  "size": 7,
  "startRow": 1,
  "endRow": 7,
  "total": 100,
  "pages": 1,
  "list": [
    {
      "partId": 1,
      "videoId": 5,
      "sectionId": 1,
      "partIdName": "第一讲",
      "partName": "1.1 jdk的环境搭建",
      "partFrequence": 1000,
      "partAddtime": 1499011200000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1499875200000,
      "partDelete": 1
    },
    {
      "partId": 2,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "第二讲",
      "partName": "1.2 JVM是什么",
      "partFrequence": 1000,
      "partAddtime": 1499011200000,
      "partModifyPerson": "杨振欣",
      "partModifyDate": 1499011200000,
      "partDelete": 1
    },
    {
      "partId": 7,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "不必填写",
      "partName": "1.3 跑谁人解",
      "partFrequence": 1,
      "partAddtime": 1499702400000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1499702400000,
      "partDelete": 1
    },
    {
      "partId": 11,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "不必填写",
      "partName": "阿萨德法师打发",
      "partFrequence": 0,
      "partAddtime": 1499702400000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1499702400000,
      "partDelete": 1
    },
    {
      "partId": 12,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "不必填写",
      "partName": "asdfasdfasdfasdfasdfasdfasd",
      "partFrequence": 0,
      "partAddtime": 1499875200000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1499875200000,
      "partDelete": 1
    },
    {
      "partId": 13,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "不必填写",
      "partName": "阿萨德发色",
      "partFrequence": 0,
      "partAddtime": 1499875200000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1499875200000,
      "partDelete": 1
    },
    {
      "partId": 14,
      "videoId": 0,
      "sectionId": 1,
      "partIdName": "不必填写",
      "partName": "12234545",
      "partFrequence": 1,
      "partAddtime": 1499875200000,
      "partModifyPerson": "zhangsan",
      "partModifyDate": 1500393600000,
      "partDelete": 0
    }
  ]
}

const videoInfo = {
    "videoId":1,
    "part_id":1,
    "videoName":'面向对象',
    // "videoPath":"https://ke.qq.com/course/149432"
    "videoPath":"@/assets/images/video.mp4"
}

export {listResource,sectionDataById,partData,videoInfo}
